<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="../common/common.jsp"%>       
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<title>设置收货地址</title>
        <link rel="stylesheet" href="${ctx }/css/layui.css">
		<script type="text/javascript" src="${ctx }/js/layer-v1.9.2/layer/layer.js"></script>
        <script type="text/javascript" src="${ctx}/js/layer-v1.9.2/layer/layui.js"></script>
	</head>
	<body>
		<!--头部-->
		<%@include file="../common/header.jsp"%>
		<%@include file="../common/headerMemberInfo.jsp"%>
		
		<div class="vip_main vip_setting set_addr container clearfix">
			<input type="hidden" id="settingClass" value="address"/>
			<%@include file="../common/leftMemberInfo.jsp"%>
			<div class="right l f14">
				<p class="red">新增收货地址</p>
				<%-- <form action="${ctx }/address/addOrUpdateAddress" method="post"> --%>
				<form  method="post">
					<input type="hidden" name="province" id="province">
					<input type="hidden" name="city" id="city">
					<input type="hidden" name="county" id="county">
					<input type="hidden" name="mId" id="mId">
					<input type="hidden" name="maId" id="maId">
					<p>
						<label for="">所在地区：<span>*</span></label>
						<select name="provinceCode"  id="provinceCode">
						</select>
						&nbsp;市：
						<select name="cityCode"  id="cityCode">
						</select>
						&nbsp;区：
						<select  name="countyCode" id="countyCode">
						</select>
					</p>
					<p>
						<label for="">邮政编码：<span>*</span></label>
						<input type="text" name="postcode" id="postcode" />
						<!-- <i>请输入邮政编码</i> -->
					</p>
					<p class="street_addr clearfix">
						<label for="" class="l">街道地址：<span>*</span></label>
						<textarea name="street" rows="" cols="" class="l" id="street"></textarea>
						<!-- <i>请输入街道地址</i> -->
					</p>
					<p class="nine prompt">请填写街道地址，最少5个字，最多不能超过100个字</p>
					<p><label for="">收货人姓名：<span>*</span></label><input type="text" name="name" id="name"/><!-- <i>请输入收货人姓名</i> --></p>
					<p><label for="">手机：<span>*</span></label><input type="tel" name="tel" id="tel" /><!-- <i>请输入手机号</i> --></p>
					<div class="item item-set-default" >
						<input type="checkbox" value="1" class="i-chk" name="isdefault" id="J_SetDefault"> 
						<label for="J_SetDefault" class="tsl" data-phase-id="d_p_saveAsDefaultAddress" id="ss">设置为默认收货地址</label>
					</div>
					<input type="button"  class="myButton" id="confirmAddAddress" value="保存" style="width: 80px;height: 36px;margin: 30px 0 0 103px;">
				</form>
				<div class="address">
					<p class="red" id="red"></p>
					<ul id="addressList">
						<li class="list">
							<p>收货人</p>
							<p class="area">所在地区</p>
							<p class="area">详细地址</p>
							<p>邮编</p>
							<p>手机</p>
							<p class="operate">操作</p>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<!--底部-->
		<%@include file="../common/bottom.jsp"%>
	</body>
	<script type="text/javascript" src="${ctx}/js/member/vip_set_address.js"></script>
</html>
